import { ApiProperty } from '@nestjs/swagger';
import { Type } from 'class-transformer';
import { IsNotEmpty, IsNumber, IsPositive } from 'class-validator';

export class DeleteCatalogDto {
  @ApiProperty({ description: '分类ID', example: 1 })
  @IsNotEmpty({ message: '分类ID不能为空' })
  @IsNumber()
	@Type(() => Number)
  categoryId: number;
}